package com.lanou3g.ptp.vo;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;

import java.io.Serializable;

/**
 * 创建人: 武奇
 * 创建事件: 2019/8/30
 */
@Data
public class ExcellentBody implements Serializable {

    private Long id;
    @JsonIgnore
    private String img;
    private String content;
    private Integer type;

    private String majorName;
    private String grade;
    private String semester;
    private String teachlinkName;
    private String taskName;
    private String studentName;
    private String clazzName;
    private Float score;

    private String[] imgs;

    public void setImg(String img) {
        this.img = img;
        if (img != null) {
            this.imgs = img.split(",");
        }
    }
}
